package com.example.bootdemo5.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.bootdemo5.dao.IEmployeeDao;
import com.example.bootdemo5.pojo.Employee;
import com.example.bootdemo5.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class EmployeeServiceImpl extends ServiceImpl<IEmployeeDao, Employee> implements IEmployeeService {


    @Override
    public IPage<Employee> queryByPage(IPage<Employee> page) {
        return baseMapper.queryByPage(page);
    }
}
